//
//  WDEditHeadView.h
//  Zhihuijinfu
//
//  Created by 王笛 on 2017/2/10.
//  Copyright © 2017年 王笛. All rights reserved.
//

#import <UIKit/UIKit.h>
@class WDLoan;
@protocol WDEditHeadViewDelegate;

typedef NS_ENUM(NSInteger, WDJumpType)
{
    WDJumpTypeCarType,
    WDJumpTypeSeries,
    WDJumpTypeProduct,
    WDJumpTypeTerm,
    WDJumpTypeBusiness
};

@interface WDEditHeadView : UIView
/** 贷款信息 */
@property (nonatomic, strong) WDLoan *loan;
/** 代理 */
@property(nonatomic, weak) id<WDEditHeadViewDelegate> delegate;

+ (instancetype)editHeadView;

@end

@protocol WDEditHeadViewDelegate <NSObject>

- (void)jumpPage:(WDJumpType)jumpType viewController:(UIViewController *)viewController;

- (void)updataHeadViewH:(CGFloat)heightH;

@end
